package cn.kgc.spring02.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author: mosin
 * @version: v1.0  2022/11/30
 *复杂属性类型 创建对象时完成对象初始化
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Person {

    private Integer age;
    private Date birth;
    private String[]  hobby;
    private List<String>  list;
    private Set<String> set;
    private Map<String,String> map;

}
